package tests;

import net.thucydides.core.annotations.*;
import net.thucydides.core.pages.Pages;
import net.thucydides.junit.runners.ThucydidesRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.openqa.selenium.WebDriver;
import tests.requirements.Application;
import tests.steps.EndUserSteps;


@Story(Application.AnswerinTallygram.AnswerAQuestion.class)
 @RunWith(ThucydidesRunner.class)
 public class AnswerQuest {

@Managed(uniqueSession = true)
public WebDriver webdriver;

@ManagedPages(defaultUrl = "http://82.200.2.19/people/8655884133087097414")
public Pages pages;

@Steps
public EndUserSteps endUser;

 @Issue("Answer")
 @Test
    public void AnswerAquestion() {
   //  LoginInApp a = new LoginInApp();
   //  a.connectWithFB();
     endUser.AnswerAQuestion("dusia.iwanowa1988@yandex.ru","89087921481");
     endUser.should_see_question_3();
    }
//   public void sentMessageToCandidate() {
// endUser.should_opening_page("Recent activity");
//  endUser.();
//   endUser;
// }

// @Pending @Test
//public void searching_by_ambiguious_keyword_should_display_the_disambiguation_page() {
// }
}